package org.dhbw.jee.web.beans;

import java.io.Serializable;
import java.util.List;

import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.inject.Named;

import org.dhbw.jee.business.db.Album;

@Named("contentFlowBean")
@RequestScoped
public class ContentFlowBean implements Serializable {
	private static final long serialVersionUID = 1L;

	@Inject
	LoginController loginController;

	private List<Album> albums;

	public List<Album> getAlbums() {
		albums = loginController.getUser().getAlbums();
		return albums;
	}

}
